package com.changzhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.changzhi.ldyl.model.InviteExchange;
import com.changzhi.ldyl.model.vo.PrizeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 兑换记录表 Mapper 接口
 * </p>
 *
 * @author huangrc
 * @since 2021-07-08
 */
public interface InviteExchangeMapper extends BaseMapper<InviteExchange> {


	List<PrizeVo> selectList(@Param("inviteId") Integer inviteId, @Param("id") Integer id,@Param("userId") String userId);


	List<PrizeVo> selectLastList(Integer inviteId);
}
